package com.stnet.entity;

/**
 * RolesAuthorities entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class RolesAuthorities implements java.io.Serializable {

	// Fields

	private RolesAuthoritiesId id;
	private Roles roles;
	private Authorities authorities;

	private String payment;
	private String retailpayment;

	// Constructors

	/** default constructor */
	public RolesAuthorities() {
	}

	/** full constructor */
	public RolesAuthorities(RolesAuthoritiesId id, Roles roles,
			Authorities authoritie) {
		this.id = id;
		this.roles = roles;
		this.authorities = authorities;
	}

	// Property accessors

	public RolesAuthoritiesId getId() {
		return this.id;
	}

	public void setId(RolesAuthoritiesId id) {
		this.id = id;
	}

	public Roles getRoles() {
		return this.roles;
	}

	public RolesAuthorities(RolesAuthoritiesId id, Roles roles,
			Authorities authorities, String payment, String retailpayment) {
		super();
		this.id = id;
		this.roles = roles;
		this.authorities = authorities;
		this.payment = payment;
		this.retailpayment = retailpayment;
	}

	public void setRoles(Roles roles) {
		this.roles = roles;
	}

	public Authorities getAuthorities() {
		return this.authorities;
	}

	public void setAuthorities(Authorities authorities) {
		this.authorities = authorities;
	}

	public String getPayment() {
		return this.payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public String getRetailpayment() {
		return this.retailpayment;
	}

	public void setRetailpayment(String retailpayment) {
		this.retailpayment = retailpayment;
	}

}